Pass NMIs to DOM0 via a dedicated callback, Xen x86_64 support.
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 11 Jan 2006 15:52:33 +0000 (15:52 +0000)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 11 Jan 2006 15:52:33 +0000 (15:52 +0000)
commitdfafd0de0cd52ed57f31a635b165ae4ca3ad498e
tree84831b3ea43038660edfd00d98c0b1961399d478
parentf483c99420cf5a98931a27dd4b03af7f413d1320
Pass NMIs to DOM0 via a dedicated callback, Xen x86_64 support.

Handle NMI interrupts and dispatch to dom0 on x86_64.

Renames the switch_to_user hypercall to iret. Extend the semantics to
include returns to guest/kernel if CS indicates ring 1. Retain the old
semantics of returning to guest/user if CS indicates ring3.

Plumb in nmi_op hypercall to generic code.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
xen/arch/x86/domain.c
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/entry.S
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/processor.h
xen/include/public/arch-x86_64.h
xen/include/public/xen.h